package com.llb666.shop.gateway.client.bo;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 权限状态码.
 *
 * @author llb666
 */
@AllArgsConstructor
public enum ResponseCode {

    /**
     * 成功
     */
    SUCCESS(1L),

    /**
     * 用户不存在
     */
    USER_NOT_FOUND(100L),

    /**
     * 没有权限
     */
    INCORRECT_CREDENTIAL(200L);

    @Getter
    private final Long code;
}
